package org.lc.stk.model.question.impl.choice.multiChoice;

import java.util.List;

import org.hibernate.annotations.Comment;
import org.lc.stk.model.question.Answer;
import org.lc.stk.model.question.impl.choice.Option;

import jakarta.persistence.Entity;
import jakarta.persistence.OneToMany;
import jakarta.persistence.Table;

/**
 * 多选题答案
 */
@Entity
@Table(name = "multiple_choice_answer")
@Comment("多选题答案")
public class MultipleChoiceAnswer extends Answer {

    @OneToMany
    @Comment("多选题答案")
    private List<Option> answer;

    public List<Option> getAnswer() {
        return answer;
    }

    public void setAnswer(List<Option> answer) {
        this.answer = answer;
    }

}
